package com.tianhui.consignortwofei.other.auth.stragety;


import com.tianhui.consignortwofei.other.auth.module.VehicleModule;
import com.tianhui.consignortwofei.other.auth.ocr.BaiDuOcrRecognition;
import com.tianhui.consignortwofei.other.auth.photograph.FinderFrame;
import com.tianhui.consignortwofei.other.auth.photograph.IPhotographStyle;
import com.tianhui.consignortwofei.other.auth.recognition.VehicleBackRecognition;
import com.tianhui.consignortwofei.other.auth.recognition.process.VehicleBackRecognitionProcess;
import com.tianhui.consignortwofei.other.auth.state.IPictureProcessState;
import com.tianhui.consignortwofei.other.auth.state.RecognitionAndUploadState;

/**
 * @author fgs
 * @date 2021/5/12
 * @description
 **/
public class VehicleBackStrategy extends BasePictureStrategy {


    @Override
    public IPhotographStyle getPhotographStyle() {
        return new FinderFrame();
    }

    @Override
    public IPictureProcessState getPictureProcessState() {
        return new RecognitionAndUploadState(new BaiDuOcrRecognition(new VehicleBackRecognition()), new VehicleBackRecognitionProcess(), new VehicleModule());
    }


}
